<g:if test="${dataList.size() > 0}">
    <meta charset="utf-8">
    <style type="text/css">
    th{
        width: 9em;
    }
    tr,td{
        border: 1px #ADBFCD solid;
    }
    </style>
    <table id="data" data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th width="50">NO.</th>
            <th width="130">采集项</th>
            <g:each in="${tableHeadList}" status="i" var="headInstance">
                <th width="170">${headInstance.ITEM_TIME}</th>
            </g:each>
        </tr>
        </thead>
        <tbody>
        <g:each in="${dataList}" status="i" var="dataInstance">
            <tr>
                <td>${i + 1}</td>
                <td>${dataInstance.ITEM_NAME}</td>
                <g:each in="${tableHeadList}" status="j" var="headInstance">
                    <td>${dataInstance[headInstance.ITEM_TIME]}</td>
                </g:each>
            </tr>
        </g:each>
        </tbody>
    </table>
</g:if>